package com.atguigu.gmall.feign.ware.fallback;

import com.atguigu.gmall.feign.ware.WareFeignClient;
import org.springframework.stereotype.Component;

/**
 * @author:ahang
 * @create:2022-10-26 1:04
 * @Description:
 */
@Component
public class WareFeignClientFallBack implements WareFeignClient {
    @Override
    public String hasStock(Long skuId, Integer num) {
        return "1";
    }
}
